﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Production_Modules
{
    /// <summary>
    /// 出入库实体
    /// </summary>
    [Table("materialoutininfo")]
    public class MaterialOutInModel:AuditEntity
    {
        /// <summary>
        /// 出入库编码
        /// </summary>
        public string OutInCode { get; set; }
        /// <summary>
        /// 出入库状态(1=出库,2=入库)
        /// </summary>
        public OutInEnum OutIn {  get; set; }
        /// <summary>
        /// 出入库数量
        /// </summary>
        public long OutInCount { get; set; }
        /// <summary>
        /// 所属产品物料外键
        /// </summary>
        public long ProductMaterialsId { get; set; }
        /// <summary>
        /// 所属物料申请单外键
        /// </summary>
        public string MaterialAskCode { get; set; }

    }
}
